sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": [
    "https://docker.1ms.run",
    "https://docker.1panel.live"
  ]
}
EOF
echo "添加成功，正在重启"
sudo systemctl daemon-reload && sudo systemctl restart docker
echo "重启完成"